[HIP] [CK] [FlyDSL] Remove obsolete availability helpers - #5116
[HIP] [CK] [FlyDSL] Remove obsolete availability helpers#5116coderfeli wants to merge 7 commits into
Conversation
Use FlyDSL's shared-memory metadata directly and keep configs, tuner helpers, and tests in their canonical directories. Co-authored-by: Cursor <cursoragent@cursor.com>
Add benchmark metrics, correctness checks, reproducible sweeps, and markdown summaries to the relocated FlyDSL tests. Co-authored-by: Cursor <cursoragent@cursor.com>
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
PR title tags: |
Keep unsupported-arch imports lazy, make tuned GEMM imports explicit, and ensure relocated tests are discovered and reject degenerate outputs. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@valarLip @amd-ruitang3 This cleanup removes obsolete FlyDSL availability gates across fused_moe/tuned_gemm and adds a jit-core config path; review fixes now preserve unsupported-arch imports and explicit lazy dispatch. Please provide explicit owner sign-off before merge. |
Load MoE kernels explicitly on demand and tighten remaining architecture and benchmark input validation. Co-authored-by: Cursor <cursoragent@cursor.com>
Centralize architecture LDS limits in chip_info so tuners and capacity checks no longer depend on FlyDSL's legacy allocator module. Co-authored-by: Cursor <cursoragent@cursor.com>
Import required FlyDSL modules directly while retaining semantic catalog checks and guards for genuinely optional external dependencies. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Follow-up cleanup: required FlyDSL modules are now imported directly; obsolete import/None availability fallbacks were removed. Semantic |
Use the existing production-path MoE 2-stage coverage instead of maintaining a second low-level A4W4 test matrix. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
is_flydsl_available, obsolete FlyDSL import fallbacks, and the duplicatedaiter.ops.flydsl.utilslayer now that FlyDSL is required; preserve lazy public imports for unsupported architectures.aiter.jit.utils.chip_info; tuners and capacity checks no longer depend on retiredflydsl.utils.smem_allocatormetadata/check APIs.op_tests/so standard CI discovers them.op_tests/test_moe_2stage.py -q 4already covers the production path and isolated stage1/stage2 timing.Compatibility
is_flydsl_availableprobe and unusedbuffer_ops.extract_base_indexexport.flydsl_config is Nonechecks remain because they detect stale tuned CSV kernel names, not import failures.SmemAllocator/SmemPtrkernel migrations are deferred to a separate structural follow-up.Test plan
python3 -m compileall -q aiter op_tests csrcgit diff --checktest_moe_2stage.py -q 4A4W4 production path passes and reports stage1/stage2 timingaiter.fused_moeand lazily importflydsl_hgemm